<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>局部刷新</title>
    <!-- jQuery的CDN引入 -->
    <script src="https://code.jquery.com/jquery-1.12.4.js" integrity="sha256-Qw82+bXyGq6MydymqBxNPYTaUXXq7c8v3CwiYwLLNXU=" crossorigin="anonymous"></script>

</head>

<body>
    <div id="nav">
        <ul>
            <li><a href="javascript:;" page="zhgl.html">综合概览</a></li>
            <li><a href="javascript:;" page="czxxsh.html">车主信息审核</a></li>
        </ul>
    </div>
    <div id="navContent" style="width:800px; height:400px; border:1px solid red">
    </div>
    <script>
        $("a").click(function() {
            // 获取请求页面
            var url = $(this).attr("page");
            console.log(url);
            $.ajax({
                type: "get",
                dataType: "html",
                url: url,
                success: function(res) {
                    // 添加页面内容
                    $("#navContent").html(res);
                }
            });
        });
    </script>
</body>

</html>